{"version":3,"sources":["script.js"],"names":["BX","window","BXMobileApp","namespace","repo","formId","gridId","nodeSelect","select","eventNode","container","this","click","delegate","callback","multiple","titles","values","defaultTitles","init","prototype","hasAttribute","setAttribute","addCustomEvent","initValues","bind","ii","options","length","push","innerHTML","value","e","show","PreventDefault","UI","SelectPicker","multiselect","default_value","data","keys","jj","html","removeAttribute","util","in_array","message","onCustomEvent","nodeDatetime","node","type","formats","parentNode","format","inner","datetime","time","date","bitrix","visible","eventCancelBubble","res","start_date","getStrDate","DatePicker","setParams","d","makeDate","text","clone","isNotEmptyString","getAttribute","delButton","style","display","str","Date","dateR","RegExp","timeR","m","test","exec","setDate","setFullYear","setMonth","setHours","setMinutes","setSeconds","parseDate","str_pad_left","getDate","toString","getMonth","getFullYear","getHours","getMinutes","DATETIME_FORMAT","convertBitrixFormat","DATE_FORMAT","TIME_FORMAT","substr","trim","indexOf","replace","id","proxy","drop","nodeSelectUser","showDrop","urls","list","profile","actualizeNodes","expand","visCount","FastClick","attach","Table","url","table_settings","markmode","return_full_mode","skipSpecialChars","modal","alphabet_index","outsection","okname","cancelname","proxy_context","remove","findParent","tagName","className","buildNodes","items","Type","isStringFilled","c","item","existedUsers","Math","min","join","ij","f","childNodes","setTimeout","a_users","nodeSelectGroup","superclass","constructor","apply","arguments","extend","b_groups","nodeText","app","attachButton","attachFileSettings","attachedFiles","extraData","mentionButton","smileButton","htmlspecialcharsback","okButton","name","cancelButton","htmlspecialchars","nodeBox","label","change","nodeFile","dialogName","controlName","uploadParams","uploadMethod","uploadFileUrl","allowUpload","allowUploadExt","maxCount","button","agent","Uploader","getInstance","streams","uploadFormData","showImage","sortItems","input","dropZone","placeHolder","queueFields","thumb","fields","template","preview","params","width","height","hasClass","DoNothing","buttons","title","takePhoto","quality","source","correctOrientation","targetWidth","targetHeight","destinationType","handleAppFile","ActionSheet","image","dataBlob","UploaderUtils","dataURLToBlob","onChange","_onFileIsBound","onFileIsBound","_onFileIsAppended","onFileIsAppended","_onUploadStart","onUploadStart","_onUploadProgress","onUploadProgress","_onUploadDone","onUploadDone","_onUploadError","onUploadError","onFileIsCreated","findChildren","ar1","ar2","findChild","onAttach","onAttachFiles","onQueueIsChanged","getItems","addClass","removeClass","files","error","deleteFile","getFirst","pop","acceptableL","file","size","getFormattedSize","bindFile","getItem","action","progress","result","n","findChildByClassName","inp","create","attrs","appendChild","del","Mobile","Grid","Form","skipLoadingScreenHiding","Page","LoadingScreen","hide","elements","nodes","obj","ff","o","i","Events","postToComponent","getParamsForMobilePostEvent","restrictedMode","bindElement","cancel","TopBar","updateButtons","bar_type","position","ok","tag","toLowerCase","event","keyCode","found","form","focus","Disk","UFMobile","getByName","save","submit","dm","ajax","restricted","method","onsuccess","onfailure","onprogress","submitAjax","fieldObject","nodeId","nodeName","nodeValue","dateValue","avatarNode","getElementsByClassName","responsibleIcon","backgroundImage","getByFormId","getByGridId"],"mappings":"CAAE,WACD,IAAIA,EAAKC,OAAOD,GACfE,EAAcD,OAAOC,YACtB,GAAIF,GAAMA,EAAG,WAAaA,EAAG,UAAU,SAAWA,EAAG,UAAU,QAAQ,QACtE,OACDA,EAAGG,UAAU,uBACb,IAAIC,EAAO,CAACC,OAAS,GAAIC,OAAS,IACjCC,EAAa,WACZ,IAAIA,EAAa,SAASC,EAAQC,EAAWC,GAC5CC,KAAKC,MAAQZ,EAAGa,SAASF,KAAKC,MAAOD,MACrCA,KAAKG,SAAWd,EAAGa,SAASF,KAAKG,SAAUH,MAC3CA,KAAKI,SAAW,MAChBJ,KAAKH,OAAS,KACdG,KAAKF,UAAY,KACjBE,KAAKD,UAAY,KACjBC,KAAKK,OAAS,GACdL,KAAKM,OAAS,GACdN,KAAKO,cAAgB,GACrBP,KAAKQ,KAAKX,EAAQC,EAAWC,IAE9BH,EAAWa,UAAY,CACtBD,KAAO,SAASX,EAAQC,EAAWC,GAClC,GAAIV,EAAGQ,IAAWR,EAAGS,IAAcT,EAAGU,GACtC,CACCC,KAAKH,OAASA,EACdG,KAAKF,U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